"""
语法：
data.size()   => 获得张量的形状
"""
import torch as t

data = t.Tensor(2, 3)
print(data)
print(data.size())
